﻿using System.ComponentModel;

namespace SharePointUtilitiesForDevelopers.Mapper
{
    /// <summary>
    /// A domain class that contains data about a site.
    /// </summary>
    [ReadOnly(true)]
    [DefaultProperty("Title")]
    public class SharePointSiteData
    {
        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        /// <value>The title.</value>
        [Description("The site title.")]
        public string Title { get; set; }

        /// <summary>
        /// Gets or sets the url.
        /// </summary>
        /// <value>The url.</value>
        [Description("The site url.")]
        public string Url { get; set; }
    }
}
